package com.uzhie.web.service;

import com.uzhie.web.bean.PageBean;
import com.uzhie.web.dao.CatalogDAO;
import com.uzhie.web.dao.ReportFlowDAO;
import com.uzhie.web.module.ReportFlow;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 用户service,封装与用户相关的服务操作
 *
 * Created by zhangdequan on 2018/7/12.
 */
@Service
public class ReportFlowService {

     @Autowired
     private ReportFlowDAO reportFlowDAO;
    @Autowired
     private CatalogDAO catalogDAO;

    public List<ReportFlow> selectReportFlow(String departId,String vehicleNumber, String beginTime,String endTime,PageBean pageBean){

        return reportFlowDAO.selectReportFlow(departId,vehicleNumber,beginTime,endTime,pageBean.getRowBounds());
    }
}


